﻿#ifndef ELEMENTTABWIDGET_H
#define ELEMENTTABWIDGET_H

#include <QTabWidget>
class ElementGraphicsView;
class ElementTabWidget : public QTabWidget
{
    Q_OBJECT
public:
    ElementTabWidget(QWidget *parent = nullptr);
public:
    ElementGraphicsView *elementGraphicsView(int index);
signals:

public slots:
    // void onCurrentChanged(int index);
    // void onTabBarClicked(int index);
    // void onTabBarDoubleClicked(int index);
    void onTabCloseRequested(int index);
    ElementGraphicsView *addNewTab(const QIcon& tabIcon);
private:
};

#endif // ELEMENTTABWIDGET_H
